/********************************************************************************
** Form generated from reading UI file 'smPreferencesDialog.ui'
**
** Created: Thu 8. Dec 15:09:43 2011
**      by: Qt User Interface Compiler version 4.7.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_SMPREFERENCESDIALOG_H
#define UI_SMPREFERENCESDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_smPreferencesDialog
{
public:
    QGridLayout *gridLayout_3;
    QGridLayout *gridLayout_2;
    QLabel *mPixmapLabel;
    QGridLayout *gridLayout;
    QLabel *textLabel3;
    QComboBox *mLayoutComboBox;
    QLabel *textLabel2;
    QComboBox *mTileSetComboBox;
    QLabel *textLabel4;
    QComboBox *mTileSizeComboBox;
    QLabel *textLabel4_2;
    QComboBox *mBackgroundColorComboBox;
    QLabel *textLabel1;
    QSpacerItem *horizontalSpacer;
    QVBoxLayout *verticalLayout_2;
    QFrame *line3;
    QCheckBox *mStatusBarInfoCheckBox;
    QCheckBox *mSoundBeepCheckBox;
    QCheckBox *mRandomHintCheckBox;
    QCheckBox *mShowNumberOfMovesCheckBox;
    QVBoxLayout *verticalLayout;
    QSpacerItem *verticalSpacer;
    QHBoxLayout *hboxLayout;
    QPushButton *buttonOk;
    QSpacerItem *spacerItem;
    QPushButton *buttonCancel;

    void setupUi(QDialog *smPreferencesDialog)
    {
        if (smPreferencesDialog->objectName().isEmpty())
            smPreferencesDialog->setObjectName(QString::fromUtf8("smPreferencesDialog"));
        smPreferencesDialog->setWindowModality(Qt::ApplicationModal);
        smPreferencesDialog->resize(439, 367);
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(smPreferencesDialog->sizePolicy().hasHeightForWidth());
        smPreferencesDialog->setSizePolicy(sizePolicy);
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/images/images/logo32.png"), QSize(), QIcon::Normal, QIcon::Off);
        smPreferencesDialog->setWindowIcon(icon);
        smPreferencesDialog->setSizeGripEnabled(true);
        smPreferencesDialog->setModal(true);
        gridLayout_3 = new QGridLayout(smPreferencesDialog);
        gridLayout_3->setSpacing(6);
        gridLayout_3->setContentsMargins(11, 11, 11, 11);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        gridLayout_2 = new QGridLayout();
        gridLayout_2->setSpacing(6);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        mPixmapLabel = new QLabel(smPreferencesDialog);
        mPixmapLabel->setObjectName(QString::fromUtf8("mPixmapLabel"));
        mPixmapLabel->setAutoFillBackground(true);
        mPixmapLabel->setFrameShape(QFrame::StyledPanel);
        mPixmapLabel->setFrameShadow(QFrame::Sunken);
        mPixmapLabel->setScaledContents(false);
        mPixmapLabel->setAlignment(Qt::AlignCenter);
        mPixmapLabel->setWordWrap(false);

        gridLayout_2->addWidget(mPixmapLabel, 0, 0, 2, 1);

        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        gridLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
        textLabel3 = new QLabel(smPreferencesDialog);
        textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
        textLabel3->setAlignment(Qt::AlignVCenter);
        textLabel3->setWordWrap(false);

        gridLayout->addWidget(textLabel3, 0, 0, 1, 2);

        mLayoutComboBox = new QComboBox(smPreferencesDialog);
        mLayoutComboBox->setObjectName(QString::fromUtf8("mLayoutComboBox"));
        mLayoutComboBox->setEnabled(false);

        gridLayout->addWidget(mLayoutComboBox, 0, 2, 1, 1);

        textLabel2 = new QLabel(smPreferencesDialog);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        textLabel2->setAlignment(Qt::AlignVCenter);
        textLabel2->setWordWrap(false);

        gridLayout->addWidget(textLabel2, 1, 0, 1, 2);

        mTileSetComboBox = new QComboBox(smPreferencesDialog);
        mTileSetComboBox->setObjectName(QString::fromUtf8("mTileSetComboBox"));
        mTileSetComboBox->setEnabled(false);

        gridLayout->addWidget(mTileSetComboBox, 1, 2, 1, 1);

        textLabel4 = new QLabel(smPreferencesDialog);
        textLabel4->setObjectName(QString::fromUtf8("textLabel4"));
        textLabel4->setAlignment(Qt::AlignVCenter);
        textLabel4->setWordWrap(false);

        gridLayout->addWidget(textLabel4, 2, 0, 1, 1);

        mTileSizeComboBox = new QComboBox(smPreferencesDialog);
        mTileSizeComboBox->setObjectName(QString::fromUtf8("mTileSizeComboBox"));
        mTileSizeComboBox->setMinimumSize(QSize(0, 0));
        mTileSizeComboBox->setAutoCompletion(false);
        mTileSizeComboBox->setDuplicatesEnabled(false);

        gridLayout->addWidget(mTileSizeComboBox, 2, 1, 1, 2);

        textLabel4_2 = new QLabel(smPreferencesDialog);
        textLabel4_2->setObjectName(QString::fromUtf8("textLabel4_2"));
        textLabel4_2->setAlignment(Qt::AlignVCenter);
        textLabel4_2->setWordWrap(false);

        gridLayout->addWidget(textLabel4_2, 3, 0, 1, 2);

        mBackgroundColorComboBox = new QComboBox(smPreferencesDialog);
        mBackgroundColorComboBox->setObjectName(QString::fromUtf8("mBackgroundColorComboBox"));
        mBackgroundColorComboBox->setAutoCompletion(false);
        mBackgroundColorComboBox->setDuplicatesEnabled(false);

        gridLayout->addWidget(mBackgroundColorComboBox, 3, 2, 1, 1);


        gridLayout_2->addLayout(gridLayout, 0, 1, 1, 1);

        textLabel1 = new QLabel(smPreferencesDialog);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setLineWidth(4);
        textLabel1->setAlignment(Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft);
        textLabel1->setWordWrap(true);

        gridLayout_2->addWidget(textLabel1, 1, 1, 1, 1);


        gridLayout_3->addLayout(gridLayout_2, 0, 0, 1, 1);

        horizontalSpacer = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout_3->addItem(horizontalSpacer, 0, 1, 1, 1);

        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        line3 = new QFrame(smPreferencesDialog);
        line3->setObjectName(QString::fromUtf8("line3"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(line3->sizePolicy().hasHeightForWidth());
        line3->setSizePolicy(sizePolicy1);
        line3->setMinimumSize(QSize(0, 24));
        line3->setFrameShape(QFrame::HLine);
        line3->setFrameShadow(QFrame::Plain);
        line3->setFrameShape(QFrame::HLine);

        verticalLayout_2->addWidget(line3);

        mStatusBarInfoCheckBox = new QCheckBox(smPreferencesDialog);
        mStatusBarInfoCheckBox->setObjectName(QString::fromUtf8("mStatusBarInfoCheckBox"));

        verticalLayout_2->addWidget(mStatusBarInfoCheckBox);

        mSoundBeepCheckBox = new QCheckBox(smPreferencesDialog);
        mSoundBeepCheckBox->setObjectName(QString::fromUtf8("mSoundBeepCheckBox"));

        verticalLayout_2->addWidget(mSoundBeepCheckBox);

        mRandomHintCheckBox = new QCheckBox(smPreferencesDialog);
        mRandomHintCheckBox->setObjectName(QString::fromUtf8("mRandomHintCheckBox"));

        verticalLayout_2->addWidget(mRandomHintCheckBox);

        mShowNumberOfMovesCheckBox = new QCheckBox(smPreferencesDialog);
        mShowNumberOfMovesCheckBox->setObjectName(QString::fromUtf8("mShowNumberOfMovesCheckBox"));

        verticalLayout_2->addWidget(mShowNumberOfMovesCheckBox);


        gridLayout_3->addLayout(verticalLayout_2, 1, 0, 1, 1);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setSpacing(6);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout->addItem(verticalSpacer);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        buttonOk = new QPushButton(smPreferencesDialog);
        buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
        buttonOk->setAutoDefault(true);
        buttonOk->setDefault(true);

        hboxLayout->addWidget(buttonOk);

        spacerItem = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem);

        buttonCancel = new QPushButton(smPreferencesDialog);
        buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
        buttonCancel->setAutoDefault(true);

        hboxLayout->addWidget(buttonCancel);


        verticalLayout->addLayout(hboxLayout);


        gridLayout_3->addLayout(verticalLayout, 2, 0, 1, 2);


        retranslateUi(smPreferencesDialog);
        QObject::connect(buttonCancel, SIGNAL(clicked()), smPreferencesDialog, SLOT(reject()));
        QObject::connect(buttonOk, SIGNAL(clicked()), smPreferencesDialog, SLOT(accept()));
        QObject::connect(mTileSizeComboBox, SIGNAL(activated(int)), smPreferencesDialog, SLOT(tileSizeComboActivated(int)));
        QObject::connect(mBackgroundColorComboBox, SIGNAL(activated(int)), smPreferencesDialog, SLOT(backgroundColorComboActivated(int)));

        mTileSizeComboBox->setCurrentIndex(1);
        mBackgroundColorComboBox->setCurrentIndex(1);


        QMetaObject::connectSlotsByName(smPreferencesDialog);
    } // setupUi

    void retranslateUi(QDialog *smPreferencesDialog)
    {
        smPreferencesDialog->setWindowTitle(QApplication::translate("smPreferencesDialog", "Solitaire Mahjong - Preferences", 0, QApplication::UnicodeUTF8));
        textLabel3->setText(QApplication::translate("smPreferencesDialog", "Tile Layout:", 0, QApplication::UnicodeUTF8));
        mLayoutComboBox->clear();
        mLayoutComboBox->insertItems(0, QStringList()
         << QApplication::translate("smPreferencesDialog", "Turtle", 0, QApplication::UnicodeUTF8)
        );
        textLabel2->setText(QApplication::translate("smPreferencesDialog", "Tile Set:", 0, QApplication::UnicodeUTF8));
        mTileSetComboBox->clear();
        mTileSetComboBox->insertItems(0, QStringList()
         << QApplication::translate("smPreferencesDialog", "Classic", 0, QApplication::UnicodeUTF8)
        );
        textLabel4->setText(QApplication::translate("smPreferencesDialog", "Tile Size:", 0, QApplication::UnicodeUTF8));
        mTileSizeComboBox->clear();
        mTileSizeComboBox->insertItems(0, QStringList()
         << QApplication::translate("smPreferencesDialog", "Small", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("smPreferencesDialog", "Medium (Default)", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("smPreferencesDialog", "Large", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("smPreferencesDialog", "Very Large", 0, QApplication::UnicodeUTF8)
        );
        textLabel4_2->setText(QApplication::translate("smPreferencesDialog", "Background Color:", 0, QApplication::UnicodeUTF8));
        mBackgroundColorComboBox->clear();
        mBackgroundColorComboBox->insertItems(0, QStringList()
         << QApplication::translate("smPreferencesDialog", "Default", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("smPreferencesDialog", "Current", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("smPreferencesDialog", "New", 0, QApplication::UnicodeUTF8)
        );
        textLabel1->setText(QApplication::translate("smPreferencesDialog", "Note: Changes above becomes only active when a new game is started.", 0, QApplication::UnicodeUTF8));
        mStatusBarInfoCheckBox->setText(QApplication::translate("smPreferencesDialog", "Show name of selected tile in status bar", 0, QApplication::UnicodeUTF8));
        mSoundBeepCheckBox->setText(QApplication::translate("smPreferencesDialog", "Sound bell when tile is not selectable", 0, QApplication::UnicodeUTF8));
        mRandomHintCheckBox->setText(QApplication::translate("smPreferencesDialog", "Hint is selected randomly from a list of all possible matches", 0, QApplication::UnicodeUTF8));
        mShowNumberOfMovesCheckBox->setText(QApplication::translate("smPreferencesDialog", "Hint command also reports number of possible matches", 0, QApplication::UnicodeUTF8));
        buttonOk->setText(QApplication::translate("smPreferencesDialog", "&OK", 0, QApplication::UnicodeUTF8));
        buttonOk->setShortcut(QString());
        buttonCancel->setText(QApplication::translate("smPreferencesDialog", "&Cancel", 0, QApplication::UnicodeUTF8));
        buttonCancel->setShortcut(QString());
    } // retranslateUi

};

namespace Ui {
    class smPreferencesDialog: public Ui_smPreferencesDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_SMPREFERENCESDIALOG_H
